package com.ktgj.flight.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 会员邮寄列对象 flight_deliver_customer
 * 
 * @author ruoyi
 * @date 2021-10-26
 */
public class FlightDeliverCustomer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 自增主键 */
    private Long deliverid;

    /** 客户基本信息ID */
    @Excel(name = "客户基本信息ID")
    private Long customerId;

    /** 预计邮寄判断时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "预计邮寄判断时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date delivertime;

    /** 邮寄费用 */
    @Excel(name = "邮寄费用")
    private BigDecimal deliverprice;

    /** 是否需要快递发票,1是 */
    @Excel(name = "是否需要快递发票,1是")
    private String isneedinvoice;

    /** 邮寄订单号 */
    @Excel(name = "邮寄订单号")
    private Long orderid;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date addtime;

    /** 会员id */
    @Excel(name = "会员id")
    private Long customerid;

    public void setDeliverid(Long deliverid) 
    {
        this.deliverid = deliverid;
    }

    public Long getDeliverid() 
    {
        return deliverid;
    }
    public void setCustomerId(Long customerId) 
    {
        this.customerId = customerId;
    }

    public Long getCustomerId() 
    {
        return customerId;
    }
    public void setDelivertime(Date delivertime) 
    {
        this.delivertime = delivertime;
    }

    public Date getDelivertime() 
    {
        return delivertime;
    }
    public void setDeliverprice(BigDecimal deliverprice) 
    {
        this.deliverprice = deliverprice;
    }

    public BigDecimal getDeliverprice() 
    {
        return deliverprice;
    }
    public void setIsneedinvoice(String isneedinvoice) 
    {
        this.isneedinvoice = isneedinvoice;
    }

    public String getIsneedinvoice() 
    {
        return isneedinvoice;
    }
    public void setOrderid(Long orderid) 
    {
        this.orderid = orderid;
    }

    public Long getOrderid() 
    {
        return orderid;
    }
    public void setAddtime(Date addtime) 
    {
        this.addtime = addtime;
    }

    public Date getAddtime() 
    {
        return addtime;
    }
    public void setCustomerid(Long customerid) 
    {
        this.customerid = customerid;
    }

    public Long getCustomerid() 
    {
        return customerid;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("deliverid", getDeliverid())
            .append("customerId", getCustomerId())
            .append("delivertime", getDelivertime())
            .append("deliverprice", getDeliverprice())
            .append("isneedinvoice", getIsneedinvoice())
            .append("orderid", getOrderid())
            .append("addtime", getAddtime())
            .append("customerid", getCustomerid())
            .toString();
    }
}
